<?php

namespace app\admin\validate;
use think\Validate;

class InvestCheck extends Validate
{
    protected $rule = [
        'number'       => 'require|float',
        'change_desc'   => 'require',
    ];

    protected $message = [
        'number.require'       => '请输入充值金额',
        'number.float'         => '充值金额不合法',
        'change_desc.require'   => '请输入操作备注',
    ];
}